<div class="accountObligations form">
<?php echo $this->Form->create('AccountObligation');?>
	<fieldset>
		<legend><?php echo __('ADICIONAR ACTIVIDAD'); ?></legend>
	<?php
		echo $this->Form->input('descripcion_acciones');
		echo $this->Form->input('documentos_soporte');
		echo $this->Form->input('fecha_inicio');
		echo $this->Form->input('fecha_cierre');
		echo $this->Form->input('obligation_id');
		echo $this->Form->hidden('account_id');
	?>
	</fieldset>
    
<?php 
echo $this->Ajax->submit('Guardar', array('url' => array('controller' => 'AccountObligations', 'action' => 'add',$this->data['AccountObligation']['account_id']), 'update' => 'content', 'indicator' => 'loading'));
echo $this->Form->end()
        ;?>
</div>

